package com.rd.student.jiaji.class3.sunguowei.day0802.CountPractice;

public class Test6 {
    public static boolean order(int[] arr){
        for (int i = 0; i < arr.length-1; i++) {
            if(arr[i]>arr[i+1]){
                return false;
            }

        }
        return true;
    }
    public static void main(String[] args) {
        int[] arr={1,2,3,4,5,6,7,8,9};
        System.out.println(order(arr));
    }
}
